<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Fiche clinique</title>

<?php include('include/include_link22.php');?>
</head>

<body class="ficheclinique">
<?php include('include/fixedLeftMenu.php');?>

    <?php include('include/variable_session.php');?>
    
<div class="main_container">
	<div id="wraper">
            <?php include('include/header.php');?> 

            <?php
 		foreach ($info as $key => $list){
                    $id_cli = $list['ID_CLI'];
                    $nom_cli = $list['NOM_CLI'];
                    $addr_cli = $list['ADDR_CLI'];
                    $logo=$list['LOGO'];
                    $partner = $list['PARTNER'];
                    $surface = $list['SURFACE'];
                    $prothese = $list['PROTHESE'];
                    $fauteuil =$list['FAUTEIL'];
                    $scanner = $list['SCANNER'];
                    $nom_url=$list['NOM_URL'];
                    $lg = $_SESSION['lg'];
		/*pour extraire les données concernant les cliniques*/
                }
                $id_last_com = $this->mod_fiche_clinique->getIdLastComment($id_cli);
                $last_com = $this->mod_fiche_clinique->getLastComment($id_last_com);
            
            ?>
			<div class="page sizing">
            	
                <div class="titre">
                	<h1 class=" pull-left">Clinique Dentaire Magenta <a class="" href="fiche-clinique.html" title="partenaire"><img src="<?php echo base_url();?>images/photo/partenaire.png" title="partenaire" alt="walkdentalcare" /></a></h1>
                    
                    <a class="pull-right" href="index.html" title="acceuil"><?php echo $this->lang->line('cl_select'); ?></a>
                    <div class="clear"></div>
                </div>
                
                <?php 
                
                $active['clinic']='';
                $active['equipe']='class="active"';
                $active['tarifs']='';
                $active['comment']='';
                $active['contact']='';
                        
                include('include/navigation_bar.php');
                
                ?>
                <h1 class="boot"><?php echo $this->lang->line('cl_team'); ?></h1>
                
                
                <!--LISTE EQUIPE-->
        <?php

            foreach ($equipe as $key => $list) {
                $lg = $_SESSION['lg'];

                $fonction='fonction_'.$lg;
                $poste='poste_'.$lg;
        ?>
		
                <div class="equipe">
                    <div class=" pull-left">
                    	<a class="" href="#" title="partenaire">
                        <img src="<?php echo base_url();?>images/teamsImgs/<?php echo  $list['src_img']; ?>" title="partenaire" alt="walkdentalcare" />
                        </a>
                    </div>
                    <div class=" pull-right">
                    	<h2><a href="#" title="acceuil"><?php echo $list['titre']." ".$list['NOM']." ".$list['PRENOM']; ?></a></h2>
                        <h3><?php echo  $list[$fonction]; ?></h3>
                        <span><?php echo $this->lang->line('cl_experience'); ?></span>
                        <ul>
                    <?php
                        $experiences = $this->mod_fiche_clinique->getExperiences($list['ID_EQP']);
                        foreach ($experiences as $key => $list) {
                            
                    ?>    	
                                <li><?php echo  $list['AN_DEBUT']; ?> - <?php echo  $list['AN_FIN']; ?> : <?php echo  $list[$poste]; ?></li>
                     <?php } ?>        
                        </ul>
                    </div>
                    <div class="clear"></div>
                </div>
        
       <?php } ?> 
                
            
               
                
                
                <!--LISTE EQUIPE-->
                
			</div>
    </div>
<?php include('include/footer.php'); ?>
      </div>   
      <script type="text/javascript" src="<?php echo base_url();?>fontv22/engine1/wowslider.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>fontv22/engine1/script.js"></script>   
</body>
</html>
